package com.blb.article_ms.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blb.article_ms.entity.Comment;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author xray
 * @since 2023-06-14
 */
@Data
public class ArticleVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String title;

    private String pic;

    private String content;

    private LocalDateTime time;

    //评论列表 页面需要显示
    private List<Comment> comments;
}
